package com.yunhe.policyfulfillment.policyful.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @ClassName PolicyInfoApplyMatterQueryCondition
 * @Description TODO
 * @Author HeTao
 * @Date 2021/8/24 15:56
 * @Version 1.0
 **/
@Data
@ApiModel("企业申请列表查询条件")
public class PolicyInfoApplyMatterQueryCondition implements Serializable {
    @ApiModelProperty(value = "事项名称",required = false)
    private String matterTitle;

    @ApiModelProperty(value = "主管部门",required = false)
    private Integer orgId;

    @ApiModelProperty(value = "归属园区",required = false)
    private Integer ownedPark;

    @ApiModelProperty(value = "审核部门",hidden = true)
    private Integer auditOrg;

    @ApiModelProperty(value = "企业名称",hidden = true)
    private String  companyName;

    @ApiModelProperty(value = "申请开始时间",required = false)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss" )
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String applyStartTime;

    @ApiModelProperty(value = "申请结束时间",required = false)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss" )
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String applyEndTime;

    @ApiModelProperty(value = "当前用户所属部门",required = false)
    private Integer currentUserOrgId;

    @ApiModelProperty(value = "当前用户id",required = false,hidden = true)
    private Long currentLoginId;

    @ApiModelProperty(value = "当前页",required = true)
    private int page;

    @ApiModelProperty(value = "页面条数",required = true)
    private int size;
}
